package com.itheima.admin.service;

import com.itheima.PageVo;
import com.itheima.admin.dto.PageDto;
import com.itheima.admin.dto.UserDto;
import com.itheima.admin.dto.UserRoleDto;
import com.itheima.admin.vo.UserPageVo;
import com.itheima.admin.vo.UserVo;

import java.util.Map;

public interface IUserService {
    UserVo queryById(String id);

    boolean deleteId(String id);
    PageVo<UserPageVo> queryByPage(PageDto pageDto);
    boolean insertUser(UserDto userDto);
    boolean updateUser(UserDto userDto);
    boolean roleAuth(Map map);
}
